package com.heqiang.domain;

import com.alibaba.fastjson.annotation.JSONField;

import com.heqiang.utils.DateUtils;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
public class Role {

    public interface WEIGHT {
        Byte ONE = 10;//10:一级
        Byte TWO = 20;//20:二级
        Byte THREE = 30;//30:三级
        Byte FOUR = 40;//40:四级
    }

    private Long id;

    private String name;

    private Byte weight;

    private String description;

    private String remark;
    @JSONField(format = DateUtils.formatStr_yyyyMMddHHmmss)
    private Date createTime;

}